<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>water</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    .main{
      width: 100vw;
      height: 100vh;
      /* background-color: #2c3e50; */
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .water {
      width: 20vh;
      height: 20vh;
      /* border: 2px solid #2ecc71; */
      background: transparent;
      position: relative;
      box-sizing: border-box;
      border-radius: 53% 47% 25% 75% / 53% 43% 57% 47% ;
      box-shadow: inset 10px 20px 30px rgba(0, 0, 0, .3), 10px 10px 20px rgba(0, 0, 0, .3), 15px 15px 30px rgba(0, 0, 0, .3), inset -10px -10px 15px rgba(255, 255, 255, .8);
      animation: floating 2s linear  infinite alternate ;
    }

    .water::after {
      content: '';
      position: absolute;
      top: 16px;
      left: 94px;
      width: 10px;
      height: 8px;
      border-radius: 50%;
      z-index: 20;
      background-color: rgba(255, 255, 255, 1);
    }

    @keyframes floating {
      20% {
        border-radius: 53% 47% 36% 64% / 53% 54% 46% 47% ;
      }

      50% {
        border-radius: 53% 47% 46% 54% / 58% 60% 40% 42% ;
      }

      70% {
        border-radius: 64% 36% 58% 42% / 58% 69% 31% 42% ;
      }

      0%,100% {
        border-radius: 53% 47% 25% 75% / 53% 43% 57% 47% ;
      }
    }
  </style>
</head>

<body>

  <div class="main">
    <div class="water"></div>
  </div>

</body>

</html>